package com.huaxiafinance.management.dto.request;

import org.hibernate.validator.constraints.NotEmpty;

public class LoginDto {
	@NotEmpty(message = "用户名不能为空")
	private String userName;// 手机号

	@NotEmpty(message = "密码不能为空")
	private String password;// 密码

	@NotEmpty(message = "验证码key不能为空")
	private String captcha;

	@NotEmpty(message = "验证码不能为空")
	private String captchaCode;

	public String getCaptchaCode() {
		return captchaCode;
	}

	public void setCaptchaCode(String captchaCode) {
		this.captchaCode = captchaCode;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getCaptcha() {
		return captcha;
	}

	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}

	@Override
	public String toString() {
		return "LoginRegisterDto [userName=" + userName + ",captcha=" + captcha + "]";
	}
}
